﻿using System.Drawing;
using RaytracerLib.Layers;

namespace RaytracerLib.Postprocessing
{
    public abstract class Postprocessor
    {
        internal virtual void PostprocessFinalize(ColorArrayFloat a_ar)
        {
            Postprocess(new Rectangle(0, 0, a_ar.Width, a_ar.Height), a_ar);
        }

        internal virtual void Postprocess(Rectangle a_src_rect, ColorArrayFloat a_ar)
        {
        }
    }
}